#directory definations

DIR_INCLUDE    = /usr/local/include
DIR_LIBRARY    = /usr/local/lib

# @NOTICE : your project's home
DIR_PROJECT         = $(HOME)/project/

DIR_THIRD           = $(DIR_PROJECT)/third_lib/

# INCLUDE
INC_THIRD           = -I$(DIR_THIRD)

# LIB

LIB_THIRD           = -L$(DIR_THIRD) -lthird

#command definations
EXTRAFLAGS     = -g -Wall -ftemplate-depth-50 -fpermissive -fPIC -Wno-deprecated \
				 -D_DEBUG -D_LOG4CPLUS 

INCLUDES       = $(INC_THIRD)

BASE_LIBS      = $(LIB_THIRD)

CXXFLAGS       = $(INCLUDES) $(EXTRAFLAGS)

MAKE           = make
CXX            = g++
LEX            = flex
YACC           = bison
MV             = mv -f
RM             = rm -f
CP             = cp -f
AR             = ar rc

#rule definations
.SUFFIXES:  .cxx
.cpp.o:
	$(CXX) -o $@ -c $< $(CXXFLAGS)
.cxx.o:
	$(CXX) -o $@ -c $< $(CXXFLAGS)
.cc.o:
	$(CXX) -o $@ -c $< $(CXXFLAGS)


